package dao;

import vo.Using;

import java.util.HashMap;

public interface UsingDao {
    public static final int ADD_USING_NUM = 1;
    public static final int SUBSTRACT_USING_NUM = 2;
    public Using selectById(int id);
    public boolean deleteByID(int id);
    public HashMap selectAll();
    public boolean updateById(Using using, int id);
    public boolean insertUsing(Using using);
    public boolean substractUsingNum(int id,int num);
}
